package com.itlong.cloud.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "work.wechat")
@RefreshScope
public class WorkWechatProperties {

    private String domain;

    private String corpId;

    private String corpSecret;

    private String agentId;

    private Integer open;

}